public class QueryPos
{
	LoopQueue2 queue;
	public QueryPos(LoopQueue2 queue)
	{
		this.queue=queue;
	}

	public Object query(int index)
	{
		return queue.getValue(index);
	}
}